package com.sd.coupon.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author lws
 * @since 2019-01-22
 */
@TableName("ke_goods")
public class Goods implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private String numIid; //淘宝商品id

    /**
     * 宝贝名称
     */
    private String name;

    private Integer cateId;

    private Integer tid;

    /**
     * 商品类型
     */
    private Boolean goodsType;

    private String provcity;

    /**
     * 卖家名称
     */
    private String nick;

    /**
     * 添加人
     */
    private Integer addId;

    private String addUname;

    /**
     * 卖家信用
     */
    private String sellerCredit;

    /**
     * 现价
     */
    private BigDecimal price;

    /**
     * 市场价
     */
    private BigDecimal marketPrice;

    /**
     * 30天推广数量
     */
    private Integer volume;

    private Integer commentCount;

    /**
     * 图片地址
     */
    private String picUrl;

    /**
     * 宝贝地址
     */
    private String itemUrl;

    /**
     * 推广地址
     */
    private String clickUrl;

    /**
     * 宝贝内容
     */
    private String itemBody;

    /**
     * 状态，1审核通过，0未审核
     */
    private Boolean status;

    /**
     * seo标题
     */
    private String seoTitle;

    /**
     * seo关键字
     */
    private String seoKeywords;

    private String seoDescription;

    /**
     * 添加时间（时间戳）
     */
    private Integer createTime;

    /**
     * 商品点击数
     */
    private Integer hits;

    /**
     * 商品赞数
     */
    private Integer favor;

    private Integer sort;

    /**
     * 推荐
     */
    private Boolean recommend;

    private Integer shareCount;

    private String tpwd;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getNumIid() {
        return numIid;
    }

    public void setNumIid(String numIid) {
        this.numIid = numIid;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getCateId() {
        return cateId;
    }

    public void setCateId(Integer cateId) {
        this.cateId = cateId;
    }

    public Integer getTid() {
        return tid;
    }

    public void setTid(Integer tid) {
        this.tid = tid;
    }

    public Boolean getGoodsType() {
        return goodsType;
    }

    public void setGoodsType(Boolean goodsType) {
        this.goodsType = goodsType;
    }

    public String getProvcity() {
        return provcity;
    }

    public void setProvcity(String provcity) {
        this.provcity = provcity;
    }

    public String getNick() {
        return nick;
    }

    public void setNick(String nick) {
        this.nick = nick;
    }

    public Integer getAddId() {
        return addId;
    }

    public void setAddId(Integer addId) {
        this.addId = addId;
    }

    public String getAddUname() {
        return addUname;
    }

    public void setAddUname(String addUname) {
        this.addUname = addUname;
    }

    public String getSellerCredit() {
        return sellerCredit;
    }

    public void setSellerCredit(String sellerCredit) {
        this.sellerCredit = sellerCredit;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public BigDecimal getMarketPrice() {
        return marketPrice;
    }

    public void setMarketPrice(BigDecimal marketPrice) {
        this.marketPrice = marketPrice;
    }

    public Integer getVolume() {
        return volume;
    }

    public void setVolume(Integer volume) {
        this.volume = volume;
    }

    public Integer getCommentCount() {
        return commentCount;
    }

    public void setCommentCount(Integer commentCount) {
        this.commentCount = commentCount;
    }

    public String getPicUrl() {
        return picUrl;
    }

    public void setPicUrl(String picUrl) {
        this.picUrl = picUrl;
    }

    public String getItemUrl() {
        return itemUrl;
    }

    public void setItemUrl(String itemUrl) {
        this.itemUrl = itemUrl;
    }

    public String getClickUrl() {
        return clickUrl;
    }

    public void setClickUrl(String clickUrl) {
        this.clickUrl = clickUrl;
    }

    public String getItemBody() {
        return itemBody;
    }

    public void setItemBody(String itemBody) {
        this.itemBody = itemBody;
    }

    public Boolean getStatus() {
        return status;
    }

    public void setStatus(Boolean status) {
        this.status = status;
    }

    public String getSeoTitle() {
        return seoTitle;
    }

    public void setSeoTitle(String seoTitle) {
        this.seoTitle = seoTitle;
    }

    public String getSeoKeywords() {
        return seoKeywords;
    }

    public void setSeoKeywords(String seoKeywords) {
        this.seoKeywords = seoKeywords;
    }

    public String getSeoDescription() {
        return seoDescription;
    }

    public void setSeoDescription(String seoDescription) {
        this.seoDescription = seoDescription;
    }

    public Integer getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Integer createTime) {
        this.createTime = createTime;
    }

    public Integer getHits() {
        return hits;
    }

    public void setHits(Integer hits) {
        this.hits = hits;
    }

    public Integer getFavor() {
        return favor;
    }

    public void setFavor(Integer favor) {
        this.favor = favor;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public Boolean getRecommend() {
        return recommend;
    }

    public void setRecommend(Boolean recommend) {
        this.recommend = recommend;
    }

    public Integer getShareCount() {
        return shareCount;
    }

    public void setShareCount(Integer shareCount) {
        this.shareCount = shareCount;
    }

    public String getTpwd() {
        return tpwd;
    }

    public void setTpwd(String tpwd) {
        this.tpwd = tpwd;
    }

    @Override
    public String toString() {
        return "Goods{" +
        "id=" + id +
        ", numIid=" + numIid +
        ", name=" + name +
        ", cateId=" + cateId +
        ", tid=" + tid +
        ", goodsType=" + goodsType +
        ", provcity=" + provcity +
        ", nick=" + nick +
        ", addId=" + addId +
        ", addUname=" + addUname +
        ", sellerCredit=" + sellerCredit +
        ", price=" + price +
        ", marketPrice=" + marketPrice +
        ", volume=" + volume +
        ", commentCount=" + commentCount +
        ", picUrl=" + picUrl +
        ", itemUrl=" + itemUrl +
        ", clickUrl=" + clickUrl +
        ", itemBody=" + itemBody +
        ", status=" + status +
        ", seoTitle=" + seoTitle +
        ", seoKeywords=" + seoKeywords +
        ", seoDescription=" + seoDescription +
        ", createTime=" + createTime +
        ", hits=" + hits +
        ", favor=" + favor +
        ", sort=" + sort +
        ", recommend=" + recommend +
        ", shareCount=" + shareCount +
        ", tpwd=" + tpwd +
        "}";
    }
}
